

<template>
<div>
  <div  id="chart_login" style="text-align: center"></div>
</div>
</template>

<script setup>
import {computed, onMounted} from "vue";
import {useGlobalStore} from "@/stores/modules/global.js";
const globalStore = useGlobalStore();
const language = computed(() => globalStore.language);

const getChart = () => {
  new WwLogin({
    "id": "chart_login",
    "appid": "wwe9f6a4e657c8bb09",
    "agentid": 1000002,
    "redirect_uri": "https://xielei-yy.com",
    "state": "2345",
    "href": "",
    "lang": language,
  });
}

onMounted(() => {
  getChart();
})

</script>


<style scoped lang="scss">

</style>
